package cn.edu.bupt.msorder.facade;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import jakarta.servlet.http.HttpServletRequest;

@FeignClient("ms-inventory")
public interface InventoryFacade {
    @GetMapping("/product/deduct/{product_uuid}/{num}")
    public String deduct(
            @PathVariable("product_uuid") String product_uuid,
            @PathVariable("num") Integer num);
}
